package ${packageName}.api.${moduleName}.service.model;

import java.io.Serializable;

import com.fosun.spr.core.base.model.CoBaseSessionSpModel;

public class CreateOrUpdateSpModel extends CoBaseSessionSpModel {

 
	private Integer id;
	<#list tableColumnModelList as item> 
	<#if item.dataType == "string">
	private String ${item.javaFieldName};
	</#if>	
	<#if item.dataType == "int">
	private Integer ${item.javaFieldName};
	</#if>		
	</#list>	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
 
	<#list tableColumnModelList as item> 
	<#if item.columnType=="db">

	<#if item.dataType == "string">
	public String get${item.javaFieldNameU}() {
		return ${item.javaFieldName};
	}

	public void set${item.javaFieldNameU}(String ${item.javaFieldName}) {
		this.${item.javaFieldName} = ${item.javaFieldName};
	}
	</#if>	
	<#if item.dataType == "int">
	public Integer get${item.javaFieldNameU}() {
		return ${item.javaFieldName};
	}

	public void set${item.javaFieldNameU}(Integer ${item.javaFieldName}) {
		this.${item.javaFieldName} = ${item.javaFieldName};
	}
	</#if>	
	</#if>	
	</#list>		
}
